<template>
    <div class="img-box">
        <img :src="bpmnSrc" v-if="bpmnSrc"/>
        <div v-else>{{$t('workFlow.importFlow.imgMiss')}}</div>
      </div>
</template>

<script>
    export default {
        name:"BpmnView",
        props: {
            bpmnSrc: {
                type:String,
                default:""
            }
        },
    }
</script>
<style lang="scss" scoped>
.img-box{
	 text-align: center;
	 height: 550px;
	 overflow: auto;
    img{
       text-align: center;
    }
}
@media screen and (max-width: 1370px) {
	  .img-box{
	  	 height: 400px;
	  	
	  } 
	} 	
</style>